package com.hbnu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: hjx
 * @Date: 2023/4/18 21:23
 * @Description:转发页面
 */

@Controller
public class PagesController {
    @RequestMapping("/{pageName}")
    public String page(@PathVariable String pageName) {
        return pageName;
    }
}

